---
title: URL()
api: URL.new
---

## Description

<Summary/>

## Syntax

``` js
new URL(url)
new URL(url, base)
```

## Parameters

<Parameters/>

## See Also

* [URL](/reference/api/URL)
